package com.ruikong.dazhi.service.basicinfo;

import com.ruikong.dazhi.entity.basicinfo.DeviceType;
import com.ruikong.dazhi.model.output.TreeMenuOutput;

import java.util.List;

/**
 * (DeviceType)表服务接口
 *
 * @author HuaJiaYi
 * @since 2021-09-29 10:55:42
 */
public interface IDeviceTypeService {

    DeviceType queryById(Integer deviceTypeId);

    int insert(DeviceType deviceType);

    int update(DeviceType deviceType);

    String deleteById(Integer deviceTypeId);

    List<TreeMenuOutput> getDeviceTypeTree();
    Integer isExist(DeviceType s);
    List<DeviceType> queryByPid(int deviceTypePid);
    
}
